package com.gtvtv.sparkdesksdk.model.request.agent;

import java.util.HashMap;
import java.util.Map;

public class AgentRequestHeader {
    private String apiKey;
    private String apiSecret;

    public AgentRequestHeader(String apiKey, String apiSecret) {
        this.apiKey = apiKey;
        this.apiSecret = apiSecret;
    }

    public Map<String, String> toMap() {
        Map<String, String> headers = new HashMap<>();
        headers.put("Authorization", "Bearer " + apiKey + ":" + apiSecret);
        return headers;
    }

    // Getters and Setters
    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getApiSecret() {
        return apiSecret;
    }

    public void setApiSecret(String apiSecret) {
        this.apiSecret = apiSecret;
    }
}